package com.burgeon.backend.SHOP.entity;

import java.util.List;

/**
 * 订单数据的实体类
 */
public class Order extends BaseEntity {

	private static final long serialVersionUID = -4555408533815391620L;

	private String id;
	private String uid;
	private String name;
	private String receiver;
	private String phone;
	private String address;
	private String totalPrice;
	private String totalIntegral;
	private String state;
	private String orderTime;
	private String payTime;
	private String orderId;
	private String token;
	private String account;
	private List<OrderItem> orderItems;
	//单号 状态字段
	private String integralCode;
	private String integralMessage;
	private String retailCode;
	private String retailMessage;
	//快递
	private String mailName;
	private String mail;
	private String mailFee;
	private String self;

	private String modifiedTime;
	private String orderType;

	private String presellEndTime;
	private String pid;
	private String earnest;
	private String emp;
	private String earnestOrderId;//定金id

	public String getEarnestOrderId() {
		return earnestOrderId;
	}

	public void setEarnestOrderId(String earnestOrderId) {
		this.earnestOrderId = earnestOrderId;
	}

	public String getEmp() {
		return emp;
	}

	public void setEmp(String emp) {
		this.emp = emp;
	}

	public String getEarnest() {
		return earnest;
	}

	public void setEarnest(String earnest) {
		this.earnest = earnest;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getPresellEndTime() {
		return presellEndTime;
	}

	public void setPresellEndTime(String presellEndTime) {
		this.presellEndTime = presellEndTime;
	}

	public String getOrderType() {
		return orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}

	@Override
	public String getModifiedTime() {
		return modifiedTime;
	}

	@Override
	public void setModifiedTime(String modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSelf() {
		return self;
	}

	public void setSelf(String self) {
		this.self = self;
	}

	public String getMailFee() {
		return mailFee;
	}

	public void setMailFee(String mailFee) {
		this.mailFee = mailFee;
	}

	public String getMailName() {
		return mailName;
	}

	public void setMailName(String mailName) {
		this.mailName = mailName;
	}

	public String getIntegralCode() {
		return integralCode;
	}

	public void setIntegralCode(String integralCode) {
		this.integralCode = integralCode;
	}

	public String getIntegralMessage() {
		return integralMessage;
	}

	public void setIntegralMessage(String integralMessage) {
		this.integralMessage = integralMessage;
	}

	public String getRetailCode() {
		return retailCode;
	}

	public void setRetailCode(String retailCode) {
		this.retailCode = retailCode;
	}

	public String getRetailMessage() {
		return retailMessage;
	}

	public void setRetailMessage(String retailMessage) {
		this.retailMessage = retailMessage;
	}

	@Override
	public String getToken() {
		return token;
	}

	@Override
	public void setToken(String token) {
		this.token = token;
	}

	@Override
	public String getAccount() {
		return account;
	}

	@Override
	public void setAccount(String account) {
		this.account = account;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(String totalPrice) {
		this.totalPrice = totalPrice;
	}

	public String getTotalIntegral() {
		return totalIntegral;
	}

	public void setTotalIntegral(String totalIntegral) {
		this.totalIntegral = totalIntegral;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}

	public String getPayTime() {
		return payTime;
	}

	public void setPayTime(String payTime) {
		this.payTime = payTime;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public List<OrderItem> getOrderItems() {
		return orderItems;
	}

	public void setOrderItems(List<OrderItem> orderItems) {
		this.orderItems = orderItems;
	}

	@Override
	public String toString() {
		return "Order{" +
				"id='" + id + '\'' +
				", uid='" + uid + '\'' +
				", name='" + name + '\'' +
				", receiver='" + receiver + '\'' +
				", phone='" + phone + '\'' +
				", address='" + address + '\'' +
				", totalPrice='" + totalPrice + '\'' +
				", totalIntegral='" + totalIntegral + '\'' +
				", state='" + state + '\'' +
				", orderTime='" + orderTime + '\'' +
				", payTime='" + payTime + '\'' +
				", orderId='" + orderId + '\'' +
				", token='" + token + '\'' +
				", account='" + account + '\'' +
				", orderItems=" + orderItems +
				", integralCode='" + integralCode + '\'' +
				", integralMessage='" + integralMessage + '\'' +
				", retailCode='" + retailCode + '\'' +
				", retailMessage='" + retailMessage + '\'' +
				", mailName='" + mailName + '\'' +
				", mail='" + mail + '\'' +
				", mailFee='" + mailFee + '\'' +
				", self='" + self + '\'' +
				", modifiedTime='" + modifiedTime + '\'' +
				", orderType='" + orderType + '\'' +
				", presellEndTime='" + presellEndTime + '\'' +
				", pid='" + pid + '\'' +
				", earnest='" + earnest + '\'' +
				", emp='" + emp + '\'' +
				", earnestOrderId='" + earnestOrderId + '\'' +
				'}';
	}
}
